package cm.NewsService;

import cm.entity.News2;

import java.util.List;

public interface NewsService2 {
    // 更新选择的新闻
    public boolean updateNews(News2 news2);
    // 添加新闻
    public boolean addNews(News2 news2);
    // 删除新闻
    public boolean deleteNews(int id);
    //查询新闻信息
    public List<News2> getNewsList();
}
